package com.zhuoshi.mapper;

import com.zhuoshi.entity.Purpose;
import com.zhuoshi.entity.PurposeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PurposeMapper {
    int countByExample(PurposeExample example);

    int deleteByExample(PurposeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Purpose record);

    int insertSelective(Purpose record);

    List<Purpose> selectByExample(PurposeExample example);

    Purpose selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Purpose record, @Param("example") PurposeExample example);

    int updateByExample(@Param("record") Purpose record, @Param("example") PurposeExample example);

    int updateByPrimaryKeySelective(Purpose record);

    int updateByPrimaryKey(Purpose record);
}